package com.onLineCar.common.core.constants;

/**
 * @Author: 李雪仁
 * @Description: 专高四
 * @原作者: zhuWQ
 */

public enum RoleEnumConstants {

    /**
     * 枚举 多角色
     * =================================================================================================================
     * */
    ADMIN(1, "管理员"),

    NORMAL(2, "普通员工");

    private Integer code;

    private String name;

    RoleEnumConstants(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
